package javabean.MerchantInfo;

import cn.hutool.core.annotation.Alias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@ApiModel(description = "扩展资料")
public class ExtendedMaterialList {

    @Alias("file_id")
    @ApiModelProperty(value = "文件id【请填写图片file_id，可通过 商户图片上传 接口获取；;示例值：57cc7f00-600a-33ab-b614-6221bbf2e529】", required = true)
    @NotBlank(message = "fileId不能为空")
    @Length(min = 1, max = 64, message = "fileId 长度范围：1~64")
    private String fileId;

    @Alias("file_type")
    @ApiModelProperty(value = "文件类型【参见文件类型说明；示例值：F01】", required = true)
    @NotBlank(message = "fileType不能为空")
    @Length(min = 1, max = 64, message = "fileType 长度范围：1~64")
    private String fileType;

}